#ifndef __C_CROSSFIRE_WINDOW_H_
#define __C_CROSSFIRE_WINDOW_H_

#include "IWindow.h"
#include "CSettings.h"

namespace cfe
{

const wchar_t CROSS_FIRE_WINDOW_CLASS[] = L"CrossFireClass";

class CWindow : public ICF_Window
{
private :
  HINSTANCE m_instance;
  HWND m_hwnd;

  WCHAR* m_title;
  DWORD m_x;
  DWORD m_y;
  DWORD m_width;
  DWORD m_height;
  
  BOOL RegisterWindowClass();
  static LRESULT CALLBACK WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
public :
	CWindow(HINSTANCE instance);
	~CWindow(void);

	HWND GetHandle();
	BOOL Initialize();
	BOOL IsDestroy();
	void Show();
};

};

#endif